package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.SchedulingRuleDTO;

public interface SchedulingRuleService {

    List<SchedulingRuleDTO> index(Searchable searchable);

    Page<SchedulingRuleDTO> search(Pageable pageable, Searchable searchable);

    SchedulingRuleDTO create(SchedulingRuleDTO dto);

    SchedulingRuleDTO details(Long id);

    void delete(Long id);

    SchedulingRuleDTO update(Long id, SchedulingRuleDTO dto);
}
